package org.jeecg.modules.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.vo.ProjectUrgentStatus;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: lezi
 * @Date: 2022/06/09/13:53
 * @Description:
 */
@Mapper
public interface DiyProjectUrgentStatusMapper {
    List<ProjectUrgentStatus> queryByUserid(@Param("userid") String userid);
    int addByUseridAndProjectId(ProjectUrgentStatus projectUrgentStatus);
    int updateStatus02(@Param("userid") String userid,@Param("projectid") String projectid);
    int updateStatus01(@Param("userid") String userid,@Param("projectid") String projectid);
    int deleteByuseridAndprojectid(@Param("originator_userid") String originator_userid,@Param("projectid") String projectid);
    ProjectUrgentStatus queryByUseridAndProjectId(@Param("userid") String userid,@Param("projectid") String projectid);
}
